package com.miniapp.core.domain;


import com.miniapp.common.annotation.Excel;
import com.miniapp.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 平安货运险费率对象 paic_fti_rate
 *
 * @author ywd
 * @date 2024-11-29
 */
public class PaicFtiRateGen extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 产品方案 */
    @Excel(name = "产品方案",dictType = "paic_fti_product_type" )
    private String productType;


    /** 主险 */
    @Excel(name = "主险")
    private String mainInsurance;

    /** 费率% */
    @Excel(name = "费率%")
    private String rate;

    /** 最低保费 */
    @Excel(name = "最低保费")
    private Long minPremium;

    /** 修改人 */
    private Long userId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setProductType(String productType)
    {
        this.productType = productType;
    }

    public String getProductType()
    {
        return productType;
    }

    public void setMainInsurance(String mainInsurance)
    {
        this.mainInsurance = mainInsurance;
    }

    public String getMainInsurance()
    {
        return mainInsurance;
    }
    public void setRate(String rate)
    {
        this.rate = rate;
    }

    public String getRate()
    {
        return rate;
    }
    public void setMinPremium(Long minPremium)
    {
        this.minPremium = minPremium;
    }

    public Long getMinPremium()
    {
        return minPremium;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productType", getProductType())
            .append("mainInsurance", getMainInsurance())
            .append("rate", getRate())
            .append("minPremium", getMinPremium())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("userId", getUserId())
            .toString();
    }
}
